package io.geekidea.boot.test.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * App订单查询结果
 *
 * @author geekidea
 * @since 2025-03-26
 */
@Data
@Schema(description = "App订单查询结果")
public class AppPayOrderVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "订单id，年月日+数字递增")
    private String orderId;

    @Schema(description = "付款时间")
    private Date payDate;

    @Schema(description = "付款金额")
    private Integer payMoney;

    @Schema(description = "订单付款状态：0未支付，1已支付")
    private Integer payStatus;

    @Schema(description = "支付平台返回的订单id，微信：transaction_id")
    private String transactionId;

    @Schema(description = "预下单返回的id：微信-prepay_id，支付宝-trade_no")
    private String prepayId;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "订单类型，0：办卡，1：充值续费")
    private Boolean orderType;

    @Schema(description = "创建人ID")
    private Long createId;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "修改人ID，（上传发票人id）")
    private Long updateId;

    @Schema(description = "创建时间")
    private Date updateTime;

}
